package com.cj.pojo;

public class EmployeePojo {
    private Integer id=null;//id
    private String name=null;//姓名
    private Integer sex=null;//性别
    private Integer age=null;//年龄
    private String starttime=null;//入职时间
    private String job=null;//职位
    private String phone=null;//联系电话
    private String address=null;//地址
    private Double salary=null;//工资
    private Integer jobstatus=null;//工作状态 1在职 0离职 2休假
    private Integer parentid=null;//领导id号
    private Integer deptid=null;//部门id

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id=id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name=name;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex=sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age=age;
    }

    public String getStarttime() {
        return starttime;
    }

    public void setStarttime(String starttime) {
        this.starttime=starttime;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job=job;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone=phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address=address;
    }

    public Double getSalary() {
        return salary;
    }

    public void setSalary(Double salary) {
        this.salary=salary;
    }

    public Integer getJobstatus() {
        return jobstatus;
    }

    public void setJobstatus(Integer jobstatus) {
        this.jobstatus=jobstatus;
    }

    public Integer getParentid() {
        return parentid;
    }

    public void setParentid(Integer parentid) {
        this.parentid=parentid;
    }

    public Integer getDeptid() {
        return deptid;
    }

    public void setDeptid(Integer deptid) {
        this.deptid=deptid;
    }

    @Override
    public String toString() {
        return "EmployeePojo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex=" + sex +
                ", age=" + age +
                ", starttime='" + starttime + '\'' +
                ", job='" + job + '\'' +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                ", salary=" + salary +
                ", jobstatus=" + jobstatus +
                ", parentid=" + parentid +
                ", deptid=" + deptid+
                '}';
    }
}
